package com.entity;

import com.group.SupplierAddGroup;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PurGoods {
    @NotNull(message = "产品id不能为空")
    private Integer gid;//产品id
    private String gname;//产品名称
    private String batchNumber;//生产批号
    private BigDecimal perprice;//采购单价
    private String productUnit;//产品单位
    private String  productType;//产品类型
    private String spec;//规格
    private Integer sid;//供应商id
    private Integer isdelete;
}
